﻿--[[	$Id: warrior.lua 2545 2012-09-16 11:00:23Z sdkyron@gmail.com $	]]

if GetLocale() ~= "frFR" then return end

if caelLib.playerClass ~= "WARRIOR" then return end

local _, gotMacros = ...

gM_Macros = {
	["Fury"] = {
		show = "Sanguinaire",
		body = [=[/cast [nostance:3] Berserker Stance
			/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [combat, harm, nodead] gotMacros_CDsFury
			/click [modifier, harm, nodead] gotMacros_MainFuryAoE
			/click [nomodifier, harm, nodead] gotMacros_MainFuryST]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 2,
	},
	["MainFuryST"] = {
		body = [=[/startattack
			/castsequence reset=6 Sanguinaire]=],
		class = "WARRIOR",
		spec = 2,
	},
	["MainFuryAoE"] = {
		body = [=[/startattack
			/castsequence reset=6 Sanguinaire, Enchaînement, Enchaînement, Sanguinaire, Enchaînement]=],
		class = "WARRIOR",
		spec = 2,
	},
	["CDsFury"] = {
		body = [=[/cast Rage de berserker
			/cast Calme mortel]=],
		class = "WARRIOR",
		spec = 2,
	},
	["RBlow"] = {
		show = "Coup déchaîné",
		body = [=[/cast [nostance:3] Berserker Stance; Coup déchaîné]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 2,
	},
	["Whirl"] = {
		show = "Tourbillon",
		body = [=[/cast [nostance:3] Berserker Stance; Tourbillon]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
	},
	["Arms"] = {
		show = "Mortal Strike",
		body = [=[/cast [nostance:3] Berserker Stance
			/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [combat, harm, nodead] gotMacros_CDsArms
			/click [harm, nodead] gotMacros_MainArms]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 1,
	},
	["MainArms"] = {
		body = [=[/startattack
			/castsequence reset=4.5 Mortal Strike, Slam, Slam]=],
		class = "WARRIOR",
		spec = 1,
	},
	["CDsArms"] = {
		body = [=[/cast Berserker Rage
			/Cast Sweeping Strikes
			/cast Deadly Calm]=],
		class = "WARRIOR",
		spec = 1,
	},
	["Protection"] = {
		show = "Shield Slam",
		body = [=[/cast [nostance:2] Defensive Stance
			/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead] gotMacros_CDsAll
			/click [combat, harm, nodead] gotMacros_CDsProtection
			/click [harm, nodead] gotMacros_Mark
			/click [harm, nodead] gotMacros_MainProtection]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 3,
	},
	["Mark"] = {
		body = [=[/script if GetNumPartyMembers() ~= 0 and GetNumRaidMembers() == 0 then if GetRaidTargetIndex("target") ~= 8 then SetRaidTargetIcon("target", 8) end end]=],
		class = "WARRIOR",
		spec = 3,
	},
	["MainProtection"] = {
		body = [=[/startattack
			/cast [modifier] Shockwave
			/castsequence Shield Slam, Devastate
			/cast Enchaînement]=],
		class = "WARRIOR",
		spec = 3,
	},
	["CDsProtection"] = {
		body = [=[/cast Shield Block
			/use 6]=],
		class = "WARRIOR",
		spec = 3,
	},
	["OverRev"] = {
		show = "[nostance:2] Overpower; Revenge",
		body = [=[/cast [stance:1, noequipped:Shields] Overpower; [stance:1, equipped:Shields] Defensive Stance; [stance:2, noequipped:Shields] Battle Stance; [stance:2, equipped:Shields] Revenge; [stance:3, noequipped:Shields] Battle Stance; [stance:3, equipped:Shields] Defensive Stance]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
	},
	["Rend"] = {
		show = "Rend",
		body = [=[/cast [nostance:1/2] Battle Stance; Rend]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 1,
	},
	["TC"] = {
		show = "Thunder Clap",
		body = [=[/cast [nostance:1/2] Battle Stance; Thunder Clap]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 1,
	},
	["Execute"] = {
		show = "Exécution",
		body = [=[/cast [nostance:3] Berserker Stance; Exécution]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
	},
	["Recklessness"] = {
		show = "Témérité",
		body = [=[/cast [nostance:3] Berserker Stance; Témérité]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
	},
	["Interrupt"] = {
		show = "[nostance:2] Pummel; Shield Bash",
		body = [=[/cast [stance:2] Shield Bash; Pummel]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
	},
	["Slam"] = {
		show = "Heurtoir",
		body = [=[/stopcasting
			/cast Heurtoir
			/stopcasting]=],
		blizzmacro = true,
		perChar = true,
		class = "WARRIOR",
		spec = 1,
	},
}